package com.gitee.kenewstar.migration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import lombok.Data;

/**
 * @author kenewstar
 */
@Data
@TableName(value = "himp_template_target", schema = Const.HZERO_IMPORT)
public class TemplateTarget {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long headerId;
    private Integer sheetIndex;
    private String sheetName;
    private String datasourceCode;
    private String tableName;
    private String ruleScriptCode;
    private Integer enabledFlag;
    private Integer startLine;
    private Long tenantId;

    @TableField(exist = false)
    private Long devId;

}
